package com.huike.stock_analysis.entity;

import java.io.File;

/**
 * 
 * @author mzLEI
 * @date 2020年7月2日
 */
public class User {
	//用户名
	private String username;
	//邮箱
	private String email;
	//用户密码
	private String password;
	//用户头像	
	private File headImg;
	public User() {
		super();
	}
	
	/**
	 * 
	 * @param username
	 * @param email
	 * @param password
	 * @param headImg
	 */
	public User(String username, String email, String password, File headImg) {
		super();
		this.username = username;
		this.email = email;
		this.password = password;
		this.headImg = headImg;
	}


	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public File getHeadImg() {
		return headImg;
	}
	public void setHeadImg(File headImg) {
		this.headImg = headImg;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password + "]";
	}
	
}
